package com.qfedu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

// 默认扫描启动类所在的包及其子包的注解
@MapperScan("com.qfedu.**.mapper")
// @SpringBootApplication(scanBasePackages = "com.qfedu")
@SpringBootApplication
// @ComponentScan("com.qfedu")
@EnableFeignClients(basePackages = "com.qfedu.api")
public class MicroZhyApplication {

	public static void main(String[] args) {
		SpringApplication.run(MicroZhyApplication.class, args);
		System.out.println("███████╗██╗  ██╗██╗   ██╗\n" +
				"╚══███╔╝██║  ██║╚██╗ ██╔╝\n" +
				"  ███╔╝ ███████║ ╚████╔╝ \n" +
				" ███╔╝  ██╔══██║  ╚██╔╝  \n" +
				"███████╗██║  ██║   ██║   \n" +
				"╚══════╝╚═╝  ╚═╝   ╚═╝   \n" +
				"        z h y");
	}

}
